<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title><?=(isset($title) ? Html::chars($title) : '')?></title>
	<meta name="keywords" content="<?=(isset($keywords) ? $keywords : '')?>" />
	<meta name="description" content="<?=(isset($description) ? $description : '')?>" />
	<meta name="robots" content="index, follow" />
	<?php
		if (isset($meta)) foreach ($meta as $i) {
			echo '<meta' . Html::attributes($i) . ' />'."\n";
		}
	?>
	<link rel="shortcut icon" href="/favicon.png" type="image/x-icon" />
	<link href="/styles/style.css" rel="stylesheet" type="text/css" />
	<link href="/styles/website.css" rel="stylesheet" type="text/css" />
    <!--[if IE]><link href="/styles/ie.css" rel="stylesheet" type="text/css" /><![endif]-->
    <style type="text/css" media="screen">

    </style>
	<?php
		if (isset($link)) foreach ($link as $i) {
			echo '<link' . Html::attributes($i) . ' />'."\n";
		}
	?>
	<script type="text/javascript" src="/scripts/jquery/jquery-1.7.2.min.js"></script>
<!--    <script type="text/javascript" src="/scripts/jquerytools.js"></script>-->
<!--	<script type="text/javascript" src="/scripts/jquery/png-fix.js"></script>-->
    <script type="text/javascript" src="/scripts/website.js"></script>

	<?php
		/*
		<script type="text/javascript" src="/scripts/swfobject.js"></script>
		<script type="text/javascript">
			swfobject.embedSWF("/flash/preloader.swf", "flashcontent", "100%", "100%", "9.0.0");
		</script>
		*/
	?>
	<?if (isset($scripts)) foreach ($scripts as $script) :?>
		<script type="text/javascript" src="<?=Url::site($script)?>"></script>
	<?endforeach?>

    <script type="text/javascript">

        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-32836949-1']);
        _gaq.push(['_trackPageview']);

        (function() {
            var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
        })();

    </script>

</head>
<? $logged = (isset($_SESSION['identity'])?'logged':'log') ?>
<body>
    <div class="main_container">
        <div class="site">
            <div class="header_wrapper_full">
                <div class="header_wrapper_white">
                    <div class="logo"><a href="/"></a></div>
                    <div class="header">
                        <ul>
                            <li><a href="/" class="home<?=(isset($activeCat) && $activeCat === 'index') ? '_active' : ''?>"></a></li>
                            <li><a href="/services/" class="services<?=(isset($activeCat) && $activeCat === 'services') ? '_active' : ''?>"></a></li>
                            <li><a href="/testimonials/" class="reviews<?=(isset($activeCat) && $activeCat === 'testimonials') ? '_active' : ''?>"></a></li>
                            <li><a href="/shop/" class="shop<?=(isset($activeCat) && $activeCat === 'shop') ? '_active' : ''?>"></a></li>
                            <li><a href="/blog/" class="blog<?=(isset($activeCat) && $activeCat === 'blog') ? '_active' : ''?>"></a></li>
                            <li><a href="/contact/" class="contact<?=(isset($activeCat) && $activeCat === 'contact') ? '_active' : ''?>"></a></li>
<!--                            <li><a href="/auth/signin/" class="log"></a></li>-->
                            <li><a href="/account/" class="<?=$logged?><?=(isset($activeCat) && $activeCat === 'account') ? '_active' : ''?>"></a></li>
                            <li class="clear"></li>
                        </ul>
                        <div class="menu_shadows"></div>
                    </div>
                </div>
                <div style="height: 14px;width: 980px;background: #fff"></div>
                <div class="under_header"></div>
            </div>

            <div class="content">
                <?php echo (!empty ($content)) ? $content :'';?>

                <div style="display: none">
                    <div id="addCart">

<!--                        <div id="cartAddContent"> </div>-->
<!--                        <div id="response" class="red"></div>-->
                    </div>
                    <div id="cartContent">this is cart content</div>

                </div>


            </div>

            <div class="footer">
                <div class="footer_top"></div>
                <div class="ukielogo"><a href="http://www.ukietech.com" target="_blank"></a></div>
                <div class="social">
                    <? if(!empty($facebook)) : ?>
<!--                    <a class="facebook" href="http://www.facebook.com" target="_blank"></a>-->
                        <a class="facebook" href="<?=$facebook?>" target="_blank"></a>
                    <? endif; ?>
                </div>
            </div>

        </div>
    </div>

</body>
</html>
